@charset "utf-8";

body {
  overflow-x: hidden
}
*{
  font-family: "微软雅黑"
}

/**Common Css**/
.cent-block {
  display: block;
  margin-left: auto;
margin-right: auto;
}
.wid {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.m40 {
  margin: 40px auto;
}

.p40 {
  padding: 40px 0;
}

.p50 {
  padding: 50px 0;
}

.p20 {
  padding: 20px 0;
}

.mb50 {
  margin-bottom: 50px;
}

/*文本超出显示省略号*/
.ehn,
.otw,
.tow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/*清除浮动*/
.clearfix {
  clear: both;
}

.clearfix:after {
  display: block;
  clear: both;
  content: "\0020";
  visibility: hidden;
  height: 0;

}

.img-box {
  overflow: hidden;
}

.img-box img {
  transition: all, .5s;
  width: 100%;
  height: 100%;
  display: block;
}

.img-box:hover img {
  transform: scale(1.1, 1.1);
}

/* login */
.login-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../images/login-bg.jpg) no-repeat center top;
  background-size: 100%;
  /* background-size: contain; */
  background-color: #f4f4f4;
}

.login-main {
  /* position: absolute; */
  width: 85%;
  left: 50%;
  /* height: 90%; */
  top: 10%;
  /* transform: translateX(-50%); */
  padding: 0 5%;
  margin: 0 auto;
  margin-top: 10%;
}

.w-100 {
  width: 100%
}

.login-from {
  background: #fff;
  position: relative;
  padding: 40px 30px;
  border-radius: 14px;
  box-shadow: 5.878px 8.09px 18px 0px rgba(6, 0, 1, 0.06);
}


.login-text h1 {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 1.5rem;
  color: #fff;
}

.login-main .el-form-item {
  margin-bottom: 10px;
}

.logo {
  width: 60px;
  margin: 10px auto;
  display: block;
}

.login-box {
  display: flex
}

.login-box .icon-bg {
  width: 50px;
  background: #999;
  height: 50px;
  color: #fff;
  font-size: 30px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  margin: 5px auto;
}

.login-box {
  margin-top: 1.5rem;
  /* position: absolute; */
  bottom: 0;
  width: 100%;
  left: 0;
}

.login-box li {
  text-align: center;
  font-size: 0.8rem;
  width: 33.3%;
  line-height: 2;

}

.login-box li a {
  color: #999
}

.login-box .icon-bg i {
  font-size: 1.8rem
}


/* header */
.goback{
  position: absolute;
  left: 3%;
  top: 2.5%;
  width: 30px;
  height:30px;
  text-align: center;
  line-height: 30px
}
.header-bg {
  background: #fe6400;
  color: #fff;
  height: 80px;
  width: 100%;
}

.header-bg h1 {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  line-height: 60px;
  font-weight: bold;
}

.header-box {
  display: table;
  margin: 0 auto;
  position: relative;
}

.header-box .cir {
  position: absolute;
  top: 50%;
  transform: translateY(-50%)
}

.header-box .cir.left {
  left: -30px;
  ;
}

.header-box .cir.right {
  right: -30px;
}

.header-box .cir span {
  width: 6px;
  height: 6px;
  background: #fff;
  display: block;
  float: left;
  margin: 0 2px;
  border-radius: 50%;
}

.header-box .cir.left span:nth-child(1) {
  opacity: .5;
}

.header-box .cir.right span:nth-child(2) {
  opacity: .5;
}

/* 搜索 */
.serach-bg {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 6px 7.44px 0.56px rgba(255, 199, 224, 0.3);
  height: 40px;
  line-height: 40px;
  border-radius: 40px;
  margin-top: -20px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.serach-box input {
  color: #fe6400;
  width: 80%;
  position: absolute;
  left: 0;
  height: 100%;
  text-indent: 1.5rem;
  font-size: 0.8rem;
  text-align: center
}

.serach-box button {
  position: absolute;
  right: 0;
  width: 50px;
  line-height: 40px;
  text-align: center;
  color: #fe6400;
}

.serach-box button i {
  font-size: 1.4rem
}

.serach-box input::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #CCC;
}


/* banner */

/* banner */
.banner {
  position: relative;
  overflow-x: hidden;
  /* top: 80px; */
  margin-top: 20px;
  max-width:375px;
}


.banner img {
  width: 100%;
}

.banner .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.9);
}

.banner .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  transition: 300ms;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all .5s ease;
  background: #000;
}
.banner .swiper-slide img{
  opacity: .5;
  transition: all 1s ease
}
.banner .swiper-slide-active{
  opacity: 1;
}
.banner .swiper-slide-active img{
  opacity: 1;
}

.banner .swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  transition: all .5s ease;
  height: 6px;
  border-radius: 3px;
  width: 6px;
}

.banner .swiper-pagination-bullet-active {
  width: 24px !important;
  border-radius: 3px;
  opacity: 1 !important;
}

.index-icon-container{
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5
}
.index-icon-container li{
  width: 23%;
  margin: 1%
}
.index-icon-container li img{
  width:50px;
}
/* 食物菜单 */
.index-tit{
  font-size: 1rem;
  color: #999;
  font-weight: bold;
  padding: 10px 0
}
.shiwu-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}
.shiwu-container li{
  width: 49%;
  margin-bottom: 3%;
  height: 80px;
  background-image: url(../images//caipu1.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative
}
.shiwu-container li h4{
  font-size: 0.8rem;
  position: absolute;
  top: 1rem;
  left: 10px;
}
.shiwu-container li span{
  position: absolute;
  left: 10px;
  top: 2.4rem;
  font-size: 0.6rem
}
.shiwu-container li:nth-child(1){
  color: #f77154;
}
.shiwu-container li:nth-child(2){
  color: #5ac174;
  background-image: url('../images/caipu2.jpg')
}
.shiwu-container li:nth-child(3){
  color: #9a4ee6;
  background-image: url('../images/caipu3.jpg')

}
.shiwu-container li:nth-child(4){
  color: #fc4ebb;
  background-image: url('../images/caipu4.jpg')
}
/* 精选菜品 */
.hot-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.hot-container li{
  width: 48%;
  margin-bottom: 6%;
}
.hot-container li .img-box{
  border-radius: 0.4rem;
}
.hot-container li h4{
  font-size: 0.8rem;
  color: #333;
  padding: 10px 0 5px 0
}
.hot-container li i{
  color:#f4ea2a;
  font-size: 8px
}
.hot-container li p{
  display: flex;
  justify-content: space-between;
  color: #ccc;
  font-size: 0.4rem
}
/* tabbar */
.tabbar{
  border-top: 1px solid #eee;
  box-shadow: 0px 3px 9px 0px rgba(214, 214, 214, 0.5);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff
}

.tabbar-box{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}
.tabbar-box li{
  width: 16%;
  margin: 2%;
  color: #333
}
.tabbar-box li i{
  font-size: 1rem
}
.tabbar-box li.active{
  color: #fe6400;
}
.tabbar-box p{
  font-size: 0.8rem;
}